package com.youdianda.mapper;

import com.youdianda.entity.SysMenu;
import com.youdianda.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author xliu
* @description 针对表【sys_role(角色表)】的数据库操作Mapper
* @createDate 2023-05-14 16:01:07
* @Entity com.youdianda.entity.SysRole
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {

    /**
     * 根据角色id查询菜单信息
     * @return
     */
    List<SysMenu> listMenuByRoleId(String id);
}




